<?php if(!empty($tutors))  {
    foreach ( $tutors as $tt ) :
?>
<section class="tutor_items">
	<div class="left_items">
		<img src="<?php echo get_thumnails($tt->avartar,108,141); ?>" alt="<?php echo $tt->name; ?>" width="108" height="141" />
	</div>
	<div class="center_items">
		<h2 class="name_tutors"><a href="<?php echo base_url().'thong-tin-gia-su.'.$tt->id.'.html'; ?>" title=""><?php echo $tt->name; ?></a></h2>
		<p class="subjects"><?php echo $tt->profile_tit; ?></p>
		<div class="intro">
			<?php echo character_limiter($tt->description,250);  ?>
		</div>
		<!-- /.intro -->
		<a href="<?php echo base_url().'thong-tin-gia-su.'.$tt->id.'.html'; ?>" class="btn_more" title="Xem thêm giáo viên">Xem thêm</a>
	</div>
	<div class="right_items">
		<p class="rate"><?php echo number_format($tt->rate); ?> VNĐ / Giờ</p>
		<ul class="rateting">
			<li><span class="comment"><i class="icon-comment icon-2x"></i></span><a href="<?php echo base_url().'binh-luan-details.'.$tt->id.'.html'; ?>" title="">8 Bình luận</a></li>
			<li><span class="star"><i class="icon-star"></i><i class="icon-star"></i><i class="icon-star"></i><i class="icon-star"></i><i class="icon-star"></i></span><a href="#" title="">8 Đánh giá</a></li>
		</ul>
		<!-- /.rateting -->
		<a href="<?php echo base_url().'thong-tin-gia-su.'.$tt->id.'.html'; ?>" class="btn_view">Xem gia sư này</a>
	</div>
</section>
<!-- /.tutor_items -->
<?php endforeach; } else { echo '<p style="font-size:18px">Hiện tại chưa có giáo viên nào !</p>';}
 ?>